package com.example.extra.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 产品PDF表
 * </p>
 *
 * @author system
 * @since 2025-01-17
 */
@Getter
@Setter
@ToString
@TableName("product_pdf")
@Schema(name = "ProductPdf", description = "产品PDF表")
public class ProductPdf implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(description = "主键ID")
    @TableId(value = "pdf_id", type = IdType.AUTO)
    private Integer pdfId;

    /**
     * PDF文件路径
     */
    @Schema(description = "PDF文件路径")
    private String pdfPath;

    /**
     * PDF文件大小（字节）
     */
    @Schema(description = "PDF文件大小（字节）")
    private Long pdfSize;

    /**
     * PDF状态
     */
    @Schema(description = "PDF状态")
    private Integer pdfStatus;

    /**
     * 标识符
     */
    @Schema(description = "标识符")
    private String identifier;

    /**
     * 存储类型
     */
    @Schema(description = "存储类型")
    private Integer storageType;

    /**
     * MinIO存储桶名称
     */
    @Schema(description = "MinIO存储桶名称")
    private String minioBucketZk;

    /**
     * 创建用户ID
     */
    @Schema(description = "创建用户ID")
    private String createUserId;

    /**
     * 创建时间
     */
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    /**
     * 修改用户ID
     */
    @Schema(description = "修改用户ID")
    private String modifyUserId;

    /**
     * 修改时间
     */
    @Schema(description = "修改时间")
    private LocalDateTime modifyTime;
}
